<%inherit file="admin/base_site.html"/>

${self.block_content()}<%def name="block_content()">

<div id="content-main">

<form action="" method="post">{% csrf_token %}


% if form['errors']:

<p class="errornote">Your template had ${form['errors']} error${form['errors']}:</p>

% endif


<fieldset class="module aligned">
<div class="form-row
% if form['errors']['site']:
 error
% endif
 required">
    
% if form['errors']['site']:
${form['errors']['site']}
% endif

    <h4><label for="id_site">${form['site']['label']}:</label> ${form['site']}</h4>
</div>
<div class="form-row
% if form['errors']['template']:
 error
% endif
 required">
    
% if form['errors']['template']:
${form['errors']['template']}
% endif

    <h4><label for="id_template">${form['template']['label']}:</label> ${form['template']}</h4>
</div>
</fieldset>

<div class="submit-row">
    <input type="submit" value="Check for errors" class="default" />
</div>

</form>
</div>

</%def>
